﻿$.Model('Person', {
    defaults: {
        firstName: 'Aleh',
        age: 23
    }
}, {
    getName: function() {
        return this.firstName;
    }
});

var p = new Person();